package com.example.demo.mapper

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.example.demo.pojo.BookInf
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select


@Mapper
interface CustomMapper : BaseMapper<BookInf?> {
    @Select("SELECT * FROM book_inf WHERE id=2")
    fun selectCustom(): List<BookInf?>?
}